package com.neusoft.actor.service;

import com.neusoft.actor.dto.RoomDto;
import com.neusoft.actor.po.Bed;
import com.neusoft.actor.po.ResponseBean;

import java.util.List;

public interface BedService {
    ResponseBean<List<Bed>> getAllBeds();
    ResponseBean<List<Bed>> getAllAccessBeds();
    ResponseBean<Bed> getBedById(Integer bedId);
    ResponseBean<Integer> addBed(Bed bed);
    ResponseBean<Integer> updateBed(Bed bed);
    ResponseBean<Integer> deleteBed(Integer bedId);
    ResponseBean<List<RoomDto>> getAllRoomsByFloor();
    ResponseBean<List<Bed>> getFreeBedsByRoom(String roomNumber);
    ResponseBean<List<Bed>> getAllBedsByRoom(String roomNumber);
    ResponseBean<Integer> changeBed(Integer oldBedId, Integer newBedId, Integer clientId);
    ResponseBean<Bed> getBedByCon(String roomNumber, String bedNumber);
}